package com.joysuch.wwyt.edu.bean;

import com.joysuch.wwyt.edu.entity.EduCertificate;
import lombok.Data;

/**
 * @Author ZhangDong
 * @Date 2020/6/3 15:21
 */
@Data
public class EduCertIdNameDto {

    private Long certId;
    private String code;
    private String certName;

    public EduCertIdNameDto(EduCertificate eduCertificate) {
        this.certId = eduCertificate.getId();
        this.code = eduCertificate.getCode();
        this.certName = eduCertificate.getName();
    }
}
